﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Domain.DTO
{
    public class produce_work_orderDTO
    {
        /// <summary>
        /// 工单编号
        /// </summary>
        public string Work_order_Id { get; set; }

        /// <summary>
        /// 工序流程编号
        /// </summary> 
        public string? working_procedure_Id { get; set; }

        /// <summary>
        /// 工艺流程编号
        /// </summary> 
        public string? process_flow_id { get; set; }

        /// <summary>
        /// 质检工单编号
        /// </summary> 
        public string? quality_inspection_work_order_Id { get; set; }

        /// <summary>
        /// 工单名称
        /// </summary> 
        public string? work_order_name { get; set; }

        /// <summary>
        /// 计划生产物品
        /// </summary> 
        public string? planned_production_items { get; set; }

        /// <summary>
        /// 状态
        /// </summary> 
        public bool work_order_state { get; set; }

        /// <summary>
        /// 进度
        /// </summary> 
        public decimal rate_of_progress { get; set; }



        /// <summary>
        /// 工序数量
        /// </summary> 
        public int process_quantity { get; set; }

        /// <summary>
        /// 设计产量
        /// </summary> 
        public int designed_output { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary> 
        public int qualified_quantity { get; set; }

        /// <summary>
        /// 不良数量
        /// </summary> 
        public int bad_quantity { get; set; }

        /// <summary>
        /// 合格率
        /// </summary> 
        public decimal percent_of_pass { get; set; }

        /// <summary>
        /// 计划开始时间
        /// </summary> 
        public DateTime? planned_start_time { get; set; }

        /// <summary>
        /// 计划结束时间
        /// </summary> 
        public DateTime? planned_end_time { get; set; }

        /// <summary>
        /// 实际开始时间
        /// </summary> 
        public DateTime? actual_start_time { get; set; }

        /// <summary>
        /// 实际结束时间
        /// </summary>
        public DateTime? actual_end_time { get; set; }

        /// <summary>
        /// 生产产品
        /// </summary>
        public string? production_product { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string? product_id { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string? specifications_models { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? unit { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public string? attachment { get; set; }
    }
}
